package org.xs.web.http.exception;

public class TemplateNotFound  extends RuntimeException{
	private String templateName;
	private static final long serialVersionUID = 1L;
	public TemplateNotFound(String templateName){
		this.templateName = templateName;
	}
	
	public String getTemplateName(){
		return this.templateName;
	}
	
	public String renderNotFound(){
		return "";
	}
	
	@Override
	public String toString(){
		return "Template can not found "+templateName;
	}
}
